<template>
    <view>
        
    </view>
</template>

<script>
    export default {
        data() {
            return {
                
            }
        },
        methods: {
            
        },
        onLoad(option) {
            if(option.role == 'staff'){
                if(option.page == 'order'){
                    if(option.tabIndex){
                        getApp().globalData.ORDER_TAB_INDEX = option.tabIndex;
                        getApp().globalData.TAB_NEED_CHANGE = true;
                        uni.switchTab({
                            url: '/pages/staff/order'
                        })
                    }
                }
            }
        }
    }
</script>

<style>

</style>
